package lab02.test12;

public class Circle extends Shape{

    double r;
    double getArea(){return 3.14 * r * r; }
    double getLength(){return 2 * 3.14 * r; }

    void area(){
        System.out.println("圆的面积");
    }
    void length(){
        System.out.println("圆的周长");
    }
}
